﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SachOnlineLibrary.Public;
using SachOnlineLibrary.DAL;

namespace SachOnlineLibrary.BLL
{
    public class GioHangBLL
    {
        private ChiTietDatHang _giohang = new ChiTietDatHang();

        public ChiTietDatHang Giohang
        {
            get { return _giohang; }
            set { _giohang = value; }
        }

        public void Thucthi()
        {
            GioHangDAL insert_giohang = new GioHangDAL();
            insert_giohang.Giohang = this.Giohang;
            insert_giohang.Them_GioHang();
        }
    }
}
